package com.ylr.basic.common.enums;

import com.ylr.base.common.interfaces.BaseResultEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-06-30 10:32:41
 * className: BasicResultEnum
 * version: 1.0
 * description:
 */
@Getter
@AllArgsConstructor
public enum BasicResultEnum implements BaseResultEnum {

    AES_TYPE_FAIL(400, "AES操作类型错误"),

    BUSINESS_TYPE_FAIL(500, "业务类型不存在");
    ;

    /**
     * 状态码
     */
    private final Integer code;

    /**
     * 回复消息
     */
    private final String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
